package cn.tedu._05mvcboot02.mapper;

import cn.tedu._05mvcboot02.pojo.entity.User;
import cn.tedu._05mvcboot02.pojo.vo.UserListVO;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

public interface UserMapper {
    int insertUser(User user);

    List<UserListVO> userList();

    int deleteUserById(Long id);

    int updateUser(User user);

    User selectUserById(int id);
}
